/*
 * message-codes.h
 *
 *  Created on: May 20, 2012
 *      Author: burek
 */

#ifndef MESSAGE_CODES_H_
#define MESSAGE_CODES_H_

#define CMD_REPLY_OK                        0
#define CMD_REPLY_FAIL                      1

#define CMD_UNKNOWN                       100
#define CMD_BOOTSTRAP_REGISTER_SERVENT    101
#define CMD_BOOTSTRAP_UNREGISTER_SERVENT  102
#define CMD_REGISTER_SERVENT              103
#define CMD_UNREGISTER_SERVENT            104
#define CMD_PING                          105
#define CMD_PONG                          106

#define CMD_PUSH_DATA					  201
#define CMD_PULL_DATA					  202

#define CMD_POKE						  900

#define ERROR_INVALID_PARAMS              500
#define ERROR_GEOLEVEL_COUNT              501
#define ERROR_GEOLEVEL_EXISTS             502
#define ERROR_GEOLEVEL_NOT_FOUND          503


#endif /* MESSAGE_CODES_H_ */
